<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>demo</title>
	<script src="jquery-1.12.4.min.js"></script>
	<script src="jquery.color.js"></script>
	
</head>
<style>
	* {padding: 0; margin: 0;}
	div {width: 100px; height: 100px; background: red;}
</style>
<body>
	<input class="btn1" type="button" value="变色" />
	<div></div>
	<script>
		
		$(".btn1").click(function() {
			$("div").animate({
				"backgroundColor": "blue",
				"width": 200
			});
		});
		
		
	</script>
</body>
</html>